﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Jy.Abp.Services;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Options;
using Volo.Abp.Authorization.Permissions;
using Volo.Abp.Identity;

namespace SimpleApp.Identity;


[ServiceGroup("Test")]
public class UserAppService : Jy.Abp.Identity.UserAppService
{
    public UserAppService(IdentityUserManager userManager, IIdentityUserRepository userRepository, IIdentityRoleRepository roleRepository, IOptions<IdentityOptions> identityOptions, IPermissionChecker permissionChecker) : base(userManager, userRepository, roleRepository, identityOptions, permissionChecker)
    {
    }

    [ServiceGroup("Test1")]
    public override Task<IdentityUserDto> FindByEmailAsync(string email)
    {
        return base.FindByEmailAsync(email);
    }
}
